package cn.shiwei.user.mapper;

import cn.shiwei.basic.mapper.BaseMapper;
import cn.shiwei.user.domain.User;

public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据手机号查询用户信息
     */
    User findByPhone(String phone);

    User loadByLogininfoId(Long id);

}
